package com.netease.pris.activity;

import android.view.GestureDetector.OnGestureListener;
import android.view.MotionEvent;
import android.view.View;
import android.widget.ViewFlipper;

class de
  implements GestureDetector.OnGestureListener
{
  de(PRISActivityGuide paramPRISActivityGuide)
  {
  }

  public boolean onDown(MotionEvent paramMotionEvent)
  {
    return true;
  }

  public boolean onFling(MotionEvent paramMotionEvent1, MotionEvent paramMotionEvent2, float paramFloat1, float paramFloat2)
  {
    int i = 1;
    if (paramFloat1 > 20.0F)
      if ((PRISActivityGuide.a(this.a).getCurrentView() != null) && (PRISActivityGuide.a(this.a).getCurrentView().getId() > 0))
        PRISActivityGuide.a(this.a).showPrevious();
    while (true)
    {
      return i;
      if (paramFloat1 < -20.0F)
      {
        if ((PRISActivityGuide.a(this.a).getCurrentView() != null) && (PRISActivityGuide.a(this.a).getCurrentView().getId() >= -1 + PRISActivityGuide.a(this.a).getChildCount()))
        {
          PRISActivityGuide.b(this.a);
          continue;
        }
        PRISActivityGuide.a(this.a).showNext();
        continue;
      }
      i = 0;
    }
  }

  public void onLongPress(MotionEvent paramMotionEvent)
  {
  }

  public boolean onScroll(MotionEvent paramMotionEvent1, MotionEvent paramMotionEvent2, float paramFloat1, float paramFloat2)
  {
    return false;
  }

  public void onShowPress(MotionEvent paramMotionEvent)
  {
  }

  public boolean onSingleTapUp(MotionEvent paramMotionEvent)
  {
    return false;
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.pris.activity.de
 * JD-Core Version:    0.6.0
 */